import { request } from '../../request';

export function fetchColumnSetting(path: string) {
  return request({
    url: '/sys/setting/columnSetting',
    method: 'GET',
    params: { path: path },
  });
}

export function fetchAddColumnSetting(data: Common.ColumnSetting[]) {
  return request({
    url: '/sys/setting/columnSetting',
    method: 'POST',
    data: data,
  });
}

